package com.zr.subclass.service;

import com.zr.subclass.pojo.SubClassAddVo;
import com.zr.subclass.pojo.SubClassSelectVo;
import com.zr.subclass.pojo.SubClassUpdateVo;
import com.zr.subclass.pojo.SubClassUpdateStatusVo;
import com.zr.util.ResultVo;
import javax.validation.Valid;

/**
 * Created by Liyiding on 2019/9/22.
 *
 */
public interface SubClassService {
    ResultVo add(@Valid SubClassAddVo subClassAddVo);

    ResultVo queryPage(SubClassSelectVo subClassSelectVo);

    ResultVo updateStatus(@Valid SubClassUpdateStatusVo subClassUpdateStatusVo);

    ResultVo update(@Valid SubClassUpdateVo subClassUpdateVo);

}
